#coding=utf-8
from django.conf.urls import patterns, url

__author__ = 'czq'
from views import LineView,PositionView
lineView=LineView()
posView=PositionView()

urlpatterns = patterns('',
                       url(r'^RideLine_show-(?P<id>\d+)/$',lineView.show,name="RideLine_show"),
                       url(r'^RideLine_show_map-(?P<id>\d+)/$',lineView.show_map,name="RideLine_show_map"),
                       url(r'^RideLine_show/$',lineView.list,name="RideLine_show"),
                       #url(r'^RideLine_add/$',lineView.add,name="RideLine_add"),
                       url(r'^RideLine_add-(?P<id>\d*)/$',lineView.add,name="RideLine_add"),

                       url(r'^RidePosition_show-(?P<id>\d+)/$',posView.show,name="RidePosition_show"),
                       url(r'^RidePosition_show/$',posView.list,name="RidePosition_show"),


                       #url(r'',lineView.list,name='RideLine_list_index'),



)
